package DBLayer;

import java.util.ArrayList;

import ModelLayer.Product;

public interface IFDBProduct {
	
	 // get all Department
    public ArrayList<Product> getAll(boolean retriveAssociation);
    //get one Departmen having the dno
    public Product findProduct(int id, boolean retriveAssociation);
    //find one department having the department name 
    public Product searchOnName( String  name, boolean retriveAssociation);
    //insert new department
    public int insert(Product dept);
    //update department
    public int update(Product dept);
    //delete department
    public int delete(Product dept);

}
